package com.hyt.it.ogt.kq.service.gov.model.param;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * <p>
 * 科目信息表
 * </p>
 *
 * @author huangyh
 * @since 2021-03-08
 */
@Data
@ApiModel(value="SubjectParam对象", description="科目信息表")
public class SubjectParam {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "科目Id")
    private String id;

    @NotBlank(message = "考试任务id不能为空")
    @ApiModelProperty(value = "考试任务id(前端必传)")
    private String taskId;

    //@Size(max=6,message = "科目编号长度不能大于6位")
    //@NotBlank(message = "科目编号不能为空")
    @ApiModelProperty(value = "科目编号(前端必传)")
    private String code;

    @Size(max=64,message = "科目名称长度不能大于64位")
    @NotBlank(message = "科目名称不能为空")
    @ApiModelProperty(value = "科目名称(前端必传)")
    private String name;

    @ApiModelProperty(value = "考试时长(线上机考不传、线下机考必传)")
    private String length;

    @ApiModelProperty(value = "开考后允许交卷分钟数(线上机考不传、线下机考必传)")
    private String handInTime;

    @ApiModelProperty(value = "结束前提醒交卷分钟数(线上机考不传、线下机考必传)")
    private String remindTime;

    @ApiModelProperty(value = "年级")
    private String grade;

    @ApiModelProperty(value = "考场类型")
    private String roomTypeId;

    @ApiModelProperty(value = "考场类型名称")
    private String roomTypeName;

    @ApiModelProperty(value = "科目年级描述")
    private String grandDesc;

    @ApiModelProperty(value = "机构id")
    private String deptId;

    @ApiModelProperty(value = "机构名称")
    private String deptName;
}
